package com.ygqh.baby.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.po.YgStockLog;
import com.ygqh.baby.po.YgStockLogExample;

public interface YgStockLogMapper {
	int countByExample(YgStockLogExample example);

	int deleteByExample(YgStockLogExample example);

	int deleteByPrimaryKey(Long id);

	int insert(YgStockLog record);

	int insertSelective(YgStockLog record);

	List<YgStockLog> selectByExample(YgStockLogExample example);

	YgStockLog selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") YgStockLog record, @Param("example") YgStockLogExample example);

	int updateByExample(@Param("record") YgStockLog record, @Param("example") YgStockLogExample example);

	int updateByPrimaryKeySelective(YgStockLog record);

	int updateByPrimaryKey(YgStockLog record);

	int countSuper(@Param("q") String q);

	List<YgStockLog> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("q") String q);

	int inserLogBatch(@Param("logs") List<YgStockLog> logs);

}
